//
//  StudentGreenController.m
//  testApp
//
//  Created by iMac on 2018/2/27.
//  Copyright © 2018年 iMac. All rights reserved.
//

#import "StudentGreenController.h"
#import "UIView+Frame.h"

@interface StudentGreenController ()

@end

@implementation StudentGreenController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    
    UIColor *tintColor = [UIColor greenColor];
    
    UILabel *showControllerLable = ({
        UILabel *lable = [[UILabel alloc] init];
        lable.frame = CGRectMake(0,
                                 self.view.centerY - 100,
                                 [UIScreen mainScreen].bounds.size.width,
                                 200);
        lable.textColor = tintColor;
        lable.backgroundColor = [UIColor whiteColor];
        lable.text = NSStringFromClass(self.class);
        lable.font = [UIFont systemFontOfSize:30];
        lable.textAlignment = NSTextAlignmentCenter;
        lable.numberOfLines = 0;
        lable;
    });
    self.view.backgroundColor = tintColor;
    [self.view addSubview: showControllerLable];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
